inherited fmEditTemplLesson: TfmEditTemplLesson
  Left = 287
  Top = 56
  Width = 1230
  Height = 798
  Caption = 'fmEditTemplLesson'
  Constraints.MinHeight = 798
  Constraints.MinWidth = 1036
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  inherited sbBottom: TStatusBar
    Top = 744
    Width = 1222
  end
  inherited Panel1: TPanel
    Width = 1222
    inherited BitBtn1: TBitBtn
      Left = 1052
    end
    inherited BitBtn2: TBitBtn
      Left = 1140
    end
  end
  object GroupBox3: TGroupBox [2]
    Left = 0
    Top = 45
    Width = 1222
    Height = 108
    Align = alTop
    TabOrder = 2
    DesignSize = (
      1222
      108)
    object Label41: TLabel
      Left = 8
      Top = 17
      Width = 120
      Height = 13
      Caption = #1053#1072#1080#1084#1077#1085#1086#1074#1072#1085#1080#1077' '#1096#1072#1073#1083#1086#1085#1072
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clGray
      Font.Height = -11
      Font.Name = 'Tahoma'
      Font.Style = []
      ParentFont = False
    end
    object Label1: TLabel
      Left = 8
      Top = 57
      Width = 52
      Height = 13
      Caption = #1058#1080#1087' '#1059#1088#1086#1082#1072
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clGray
      Font.Height = -11
      Font.Name = 'Tahoma'
      Font.Style = []
      ParentFont = False
    end
    object Label2: TLabel
      Left = 360
      Top = 55
      Width = 66
      Height = 13
      Caption = #1060#1086#1088#1084#1072' '#1059#1088#1086#1082#1072
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clGray
      Font.Height = -11
      Font.Name = 'Tahoma'
      Font.Style = []
      ParentFont = False
    end
    object Label4: TLabel
      Left = 712
      Top = 17
      Width = 61
      Height = 13
      Caption = #1050#1086#1084#1077#1085#1090#1072#1088#1080#1081
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clGray
      Font.Height = -11
      Font.Name = 'Tahoma'
      Font.Style = []
      ParentFont = False
    end
    object eName: TcxDBTextEdit
      Left = 9
      Top = 33
      DataBinding.DataField = 'CNANE'
      DataBinding.DataSource = dsTemplLesson
      Properties.ReadOnly = False
      TabOrder = 0
      Width = 696
    end
    object eTypeTemplLesson: TcxButtonEdit
      Tag = 10
      Left = 9
      Top = 71
      ParentFont = False
      Properties.Buttons = <
        item
          Glyph.Data = {
            F6000000424DF600000000000000760000002800000010000000100000000100
            0400000000008000000000000000000000001000000000000000000000000000
            8000008000000080800080000000800080008080000080808000C0C0C0000000
            FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00FFFFFFFFFFFF
            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            FFFFFFFFFFF0FFFFFFFFFFFFFF000FFFFFFFFFFFF00000FFFFFFFFFF0000000F
            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF}
        end>
      Properties.MaxLength = 0
      Properties.ReadOnly = True
      Properties.OnButtonClick = eOsnPodrazdPropertiesButtonClick
      Style.Font.Charset = DEFAULT_CHARSET
      Style.Font.Color = clWindowText
      Style.Font.Height = -13
      Style.Font.Name = 'Tahoma'
      Style.Font.Style = [fsBold]
      Style.LookAndFeel.SkinName = ''
      Style.Shadow = False
      Style.IsFontAssigned = True
      StyleDisabled.LookAndFeel.SkinName = ''
      StyleFocused.LookAndFeel.SkinName = ''
      StyleHot.LookAndFeel.SkinName = ''
      TabOrder = 1
      Width = 344
    end
    object eFormTemplLesson: TcxButtonEdit
      Tag = 10
      Left = 361
      Top = 71
      ParentFont = False
      Properties.Buttons = <
        item
          Glyph.Data = {
            F6000000424DF600000000000000760000002800000010000000100000000100
            0400000000008000000000000000000000001000000000000000000000000000
            8000008000000080800080000000800080008080000080808000C0C0C0000000
            FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00FFFFFFFFFFFF
            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            FFFFFFFFFFF0FFFFFFFFFFFFFF000FFFFFFFFFFFF00000FFFFFFFFFF0000000F
            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF}
        end>
      Properties.MaxLength = 0
      Properties.ReadOnly = True
      Properties.OnButtonClick = cxButtonEdit1PropertiesButtonClick
      Style.Font.Charset = DEFAULT_CHARSET
      Style.Font.Color = clWindowText
      Style.Font.Height = -13
      Style.Font.Name = 'Tahoma'
      Style.Font.Style = [fsBold]
      Style.LookAndFeel.SkinName = ''
      Style.Shadow = False
      Style.IsFontAssigned = True
      StyleDisabled.LookAndFeel.SkinName = ''
      StyleFocused.LookAndFeel.SkinName = ''
      StyleHot.LookAndFeel.SkinName = ''
      TabOrder = 2
      Width = 344
    end
    object cxDBMemo5: TcxDBMemo
      Left = 713
      Top = 33
      Anchors = [akLeft, akTop, akRight]
      DataBinding.DataField = 'CCOMMENT'
      DataBinding.DataSource = dsTemplLesson
      Properties.MaxLength = 255
      Properties.ReadOnly = False
      TabOrder = 3
      Height = 64
      Width = 500
    end
  end
  object Panel4: TPanel [3]
    Left = 0
    Top = 153
    Width = 1222
    Height = 591
    Align = alClient
    Caption = 'Panel4'
    TabOrder = 3
    object Splitter1: TSplitter
      Left = 817
      Top = 1
      Height = 589
    end
    object GroupBox1: TGroupBox
      Left = 1
      Top = 1
      Width = 816
      Height = 589
      Align = alLeft
      Caption = #1069#1090#1072#1087#1099':'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clGray
      Font.Height = -13
      Font.Name = 'Tahoma'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 0
      object cxGrid1: TcxGrid
        Left = 2
        Top = 52
        Width = 812
        Height = 535
        Align = alClient
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -13
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        TabOrder = 0
        LookAndFeel.Kind = lfStandard
        object cxGridDBTableView1: TcxGridDBTableView
          NavigatorButtons.ConfirmDelete = False
          NavigatorButtons.First.Visible = True
          NavigatorButtons.PriorPage.Visible = True
          NavigatorButtons.Prior.Visible = True
          NavigatorButtons.Next.Visible = True
          NavigatorButtons.NextPage.Visible = True
          NavigatorButtons.Last.Visible = True
          NavigatorButtons.Insert.Visible = False
          NavigatorButtons.Append.Visible = False
          NavigatorButtons.Delete.Visible = False
          NavigatorButtons.Edit.Visible = False
          NavigatorButtons.Post.Visible = False
          NavigatorButtons.Cancel.Visible = False
          NavigatorButtons.Refresh.Visible = False
          NavigatorButtons.SaveBookmark.Visible = False
          NavigatorButtons.GotoBookmark.Visible = False
          NavigatorButtons.Filter.Visible = False
          FilterBox.Position = fpTop
          OnCellDblClick = cxGridDBTableView1CellDblClick
          DataController.DataSource = dsSTAGES
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <
            item
              Format = '0'
              Kind = skSum
              FieldName = 'CTIME'
              Column = cxGridDBTableView1CTIME
            end>
          DataController.Summary.SummaryGroups = <>
          FilterRow.InfoText = #1065#1077#1083#1082#1085#1080#1090#1077' '#1079#1076#1077#1089#1100' '#1076#1083#1103' '#1089#1086#1079#1076#1072#1085#1080#1103' '#1092#1080#1083#1100#1090#1088#1072
          NewItemRow.InfoText = #1065#1105#1083#1082#1085#1080#1090#1077' '#1079#1076#1077#1089#1100' '#1076#1083#1103' '#1076#1086#1073#1072#1074#1083#1077#1085#1080#1103' '#1085#1086#1074#1086#1081' '#1089#1090#1088#1086#1082#1080
          OptionsBehavior.CellHints = True
          OptionsBehavior.IncSearch = True
          OptionsCustomize.ColumnFiltering = False
          OptionsData.CancelOnExit = False
          OptionsData.Deleting = False
          OptionsData.DeletingConfirmation = False
          OptionsData.Editing = False
          OptionsData.Inserting = False
          OptionsView.NavigatorOffset = 10
          OptionsView.NoDataToDisplayInfoText = '<'#1053#1077#1090' '#1076#1072#1085#1085#1099#1093'>'
          OptionsView.CellAutoHeight = True
          OptionsView.CellTextMaxLineCount = 1
          OptionsView.ColumnAutoWidth = True
          OptionsView.Footer = True
          OptionsView.GroupByBox = False
          OptionsView.HeaderAutoHeight = True
          OptionsView.Indicator = True
          Preview.Visible = True
          Styles.IncSearch = DMInv.cxKrasniyText
          Styles.Selection = DMInv.cxJoltiyFon
          Styles.Header = DMInv.cxSiniyText
          object cxGridDBTableView1POS: TcxGridDBColumn
            Caption = #1055#1086#1079#1080#1094#1080#1103
            DataBinding.FieldName = 'POS'
            Width = 49
          end
          object cxGridDBTableView1CSDIDSTAGES: TcxGridDBColumn
            Caption = #1053#1072#1080#1084#1077#1085#1086#1074#1072#1085#1080#1077' '#1101#1090#1072#1087#1072
            DataBinding.FieldName = 'CSDIDSTAGES'
            Width = 80
          end
          object cxGridDBTableView1CMETOD: TcxGridDBColumn
            Caption = #1052#1077#1090#1086#1076
            DataBinding.FieldName = 'CMETOD'
            Width = 39
          end
          object cxGridDBTableView1CSUBJ: TcxGridDBColumn
            Caption = #1057#1091#1073#1098#1077#1082#1090
            DataBinding.FieldName = 'CSUBJ'
            Width = 52
          end
          object cxGridDBTableView1COBJ: TcxGridDBColumn
            Caption = #1054#1073#1098#1077#1082#1090
            DataBinding.FieldName = 'COBJ'
            Width = 45
          end
          object cxGridDBTableView1CRESULT: TcxGridDBColumn
            Caption = #1055#1083#1072#1085#1080#1088#1091#1077#1084#1099#1081' '#1088#1077#1079#1091#1083#1100#1090#1072#1090
            DataBinding.FieldName = 'CRESULT'
            Width = 155
          end
          object cxGridDBTableView1ACTTEACHER: TcxGridDBColumn
            Caption = #1055#1086#1089#1083#1077#1076#1086#1074#1072#1090#1077#1083#1100#1085#1086#1089#1090#1100' '#1076#1077#1081#1089#1090#1074#1080#1081' '#1091#1095#1080#1090#1077#1083#1103
            DataBinding.FieldName = 'ACTTEACHER'
            Width = 161
          end
          object cxGridDBTableView1ACTLEARNER: TcxGridDBColumn
            Caption = #1055#1086#1089#1083#1077#1076#1086#1074#1072#1090#1077#1083#1100#1085#1086#1089#1090#1100' '#1076#1077#1081#1089#1090#1074#1080#1081' '#1091#1095#1077#1085#1080#1082#1072
            DataBinding.FieldName = 'ACTLEARNER'
            Width = 155
          end
          object cxGridDBTableView1CTIME: TcxGridDBColumn
            Caption = #1055#1088#1086#1076#1086#1083#1078#1080#1090#1077#1083#1100#1085#1086#1089#1090#1100
            DataBinding.FieldName = 'CTIME'
            Width = 60
          end
        end
        object cxGridLevel1: TcxGridLevel
          GridView = cxGridDBTableView1
        end
      end
      object ToolBar4: TToolBar
        Left = 2
        Top = 18
        Width = 812
        Height = 34
        BorderWidth = 2
        ButtonHeight = 24
        EdgeInner = esNone
        EdgeOuter = esNone
        Images = DMInv.ilActive
        TabOrder = 1
        Transparent = True
        object ToolButton10: TToolButton
          Left = 0
          Top = 2
          Hint = #1044#1086#1073#1072#1074#1080#1090#1100' '#1101#1090#1072#1087
          Caption = #1044#1086#1073#1072#1074#1080#1090#1100' '#1101#1090#1072#1087
          ImageIndex = 30
          ParentShowHint = False
          ShowHint = True
          OnClick = ToolButton10Click
        end
        object ToolButton11: TToolButton
          Left = 23
          Top = 2
          Hint = #1056#1077#1076#1072#1082#1090#1080#1088#1086#1074#1072#1090#1100' '#1101#1090#1072#1087
          Caption = #1056#1077#1076#1072#1082#1090#1080#1088#1086#1074#1072#1090#1100' '#1101#1090#1072#1087
          ImageIndex = 2
          OnClick = ToolButton11Click
        end
        object ToolButton12: TToolButton
          Left = 46
          Top = 2
          Hint = #1059#1076#1072#1083#1080#1090#1100' '#1101#1090#1072#1087
          Caption = #1059#1076#1072#1083#1080#1090#1100' '#1101#1090#1072#1087
          ImageIndex = 29
          ParentShowHint = False
          ShowHint = True
          OnClick = ToolButton12Click
        end
        object ToolButton13: TToolButton
          Left = 69
          Top = 2
          Width = 52
          Caption = 'ToolButton13'
          ImageIndex = 30
          Style = tbsSeparator
        end
        object ToolButton14: TToolButton
          Left = 121
          Top = 2
          Hint = #1055#1086#1076#1085#1103#1090#1100' '#1085#1072' '#1087#1086#1079#1080#1094#1080#1102' '#1074#1074#1077#1088#1093
          Caption = #1055#1086#1076#1085#1103#1090#1100' '#1085#1072' '#1087#1086#1079#1080#1094#1080#1102' '#1074#1074#1077#1088#1093
          ImageIndex = 36
          ParentShowHint = False
          ShowHint = True
          OnClick = ToolButton14Click
        end
        object ToolButton15: TToolButton
          Left = 144
          Top = 2
          Hint = #1054#1087#1091#1089#1090#1080#1090#1100' '#1085#1072' '#1087#1086#1079#1080#1094#1080#1102' '#1074#1085#1080#1079
          Caption = #1054#1087#1091#1089#1090#1080#1090#1100' '#1085#1072' '#1087#1086#1079#1080#1094#1080#1102' '#1074#1085#1080#1079
          ImageIndex = 37
          ParentShowHint = False
          ShowHint = True
          OnClick = ToolButton15Click
        end
        object ToolButton5: TToolButton
          Left = 167
          Top = 2
          Width = 274
          Caption = 'ToolButton5'
          ImageIndex = 39
          Style = tbsSeparator
        end
        object ToolButton2: TToolButton
          Left = 441
          Top = 2
          Caption = 'ToolButton2'
          ImageIndex = 38
          Visible = False
          OnClick = ToolButton2Click
        end
        object ToolButton8: TToolButton
          Left = 464
          Top = 2
          Caption = 'ToolButton8'
          ImageIndex = 39
          Visible = False
          OnClick = ToolButton8Click
        end
      end
    end
    object Panel2: TPanel
      Left = 820
      Top = 1
      Width = 401
      Height = 589
      Align = alClient
      Caption = 'Panel2'
      TabOrder = 1
      object GroupBox2: TGroupBox
        Left = 1
        Top = 369
        Width = 399
        Height = 219
        Align = alClient
        Caption = #1057#1088#1077#1076#1089#1090#1074#1072' '#1086#1073#1091#1095#1077#1085#1080#1103':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clGray
        Font.Height = -13
        Font.Name = 'Tahoma'
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 0
        object cxGrid3: TcxGrid
          Left = 2
          Top = 52
          Width = 395
          Height = 165
          Align = alClient
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -13
          Font.Name = 'Tahoma'
          Font.Style = []
          ParentFont = False
          TabOrder = 0
          LookAndFeel.Kind = lfStandard
          object cxGridDBTableView3: TcxGridDBTableView
            NavigatorButtons.ConfirmDelete = False
            NavigatorButtons.First.Visible = True
            NavigatorButtons.PriorPage.Visible = True
            NavigatorButtons.Prior.Visible = True
            NavigatorButtons.Next.Visible = True
            NavigatorButtons.NextPage.Visible = True
            NavigatorButtons.Last.Visible = True
            NavigatorButtons.Insert.Visible = False
            NavigatorButtons.Append.Visible = False
            NavigatorButtons.Delete.Visible = False
            NavigatorButtons.Edit.Visible = False
            NavigatorButtons.Post.Visible = False
            NavigatorButtons.Cancel.Visible = False
            NavigatorButtons.Refresh.Visible = False
            NavigatorButtons.SaveBookmark.Visible = False
            NavigatorButtons.GotoBookmark.Visible = False
            NavigatorButtons.Filter.Visible = False
            FilterBox.Position = fpTop
            DataController.DataSource = dsTools
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <
              item
                Kind = skCount
                FieldName = 'pid'
              end>
            DataController.Summary.SummaryGroups = <>
            FilterRow.InfoText = #1065#1077#1083#1082#1085#1080#1090#1077' '#1079#1076#1077#1089#1100' '#1076#1083#1103' '#1089#1086#1079#1076#1072#1085#1080#1103' '#1092#1080#1083#1100#1090#1088#1072
            NewItemRow.InfoText = #1065#1105#1083#1082#1085#1080#1090#1077' '#1079#1076#1077#1089#1100' '#1076#1083#1103' '#1076#1086#1073#1072#1074#1083#1077#1085#1080#1103' '#1085#1086#1074#1086#1081' '#1089#1090#1088#1086#1082#1080
            OptionsBehavior.CellHints = True
            OptionsBehavior.IncSearch = True
            OptionsCustomize.ColumnFiltering = False
            OptionsData.CancelOnExit = False
            OptionsData.Deleting = False
            OptionsData.DeletingConfirmation = False
            OptionsData.Editing = False
            OptionsData.Inserting = False
            OptionsView.NavigatorOffset = 10
            OptionsView.NoDataToDisplayInfoText = '<'#1053#1077#1090' '#1076#1072#1085#1085#1099#1093'>'
            OptionsView.CellAutoHeight = True
            OptionsView.CellTextMaxLineCount = 1
            OptionsView.ColumnAutoWidth = True
            OptionsView.Footer = True
            OptionsView.GroupByBox = False
            OptionsView.Indicator = True
            Preview.Visible = True
            Styles.IncSearch = DMInv.cxKrasniyText
            Styles.Selection = DMInv.cxJoltiyFon
            Styles.Header = DMInv.cxSiniyText
            object cxGridDBTableView3SDNAME: TcxGridDBColumn
              Caption = #1053#1072#1080#1084#1077#1085#1086#1074#1072#1085#1080#1077
              DataBinding.FieldName = 'SDNAME'
            end
          end
          object cxGridLevel3: TcxGridLevel
            GridView = cxGridDBTableView3
          end
        end
        object ToolBar1: TToolBar
          Left = 2
          Top = 18
          Width = 395
          Height = 34
          BorderWidth = 2
          EdgeInner = esNone
          EdgeOuter = esNone
          Images = DMInv.ilActive
          TabOrder = 1
          Transparent = True
          object ToolButton1: TToolButton
            Left = 0
            Top = 2
            Hint = #1044#1086#1073#1072#1074#1080#1090#1100' '#1089#1088#1077#1076#1089#1090#1074#1086' '#1086#1073#1091#1095#1077#1085#1080#1103
            Caption = #1044#1086#1073#1072#1074#1080#1090#1100' '#1089#1088#1077#1076#1089#1090#1074#1086' '#1086#1073#1091#1095#1077#1085#1080#1103
            ImageIndex = 30
            ParentShowHint = False
            ShowHint = True
            OnClick = ToolButton1Click
          end
          object ToolButton3: TToolButton
            Left = 23
            Top = 2
            Hint = #1059#1076#1072#1083#1080#1090#1100' '#1089#1088#1077#1076#1089#1090#1074#1086' '#1086#1073#1091#1095#1077#1085#1080#1103
            Caption = #1059#1076#1072#1083#1080#1090#1100' '#1089#1088#1077#1076#1089#1090#1074#1086' '#1086#1073#1091#1095#1077#1085#1080#1103
            ImageIndex = 29
            ParentShowHint = False
            ShowHint = True
            OnClick = ToolButton3Click
          end
        end
      end
      object GroupBox4: TGroupBox
        Left = 1
        Top = 185
        Width = 399
        Height = 184
        Align = alTop
        Caption = #1055#1088#1080#1105#1084#1099' '#1086#1073#1091#1095#1077#1085#1080#1103
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clGray
        Font.Height = -13
        Font.Name = 'Tahoma'
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 1
        object cxGrid2: TcxGrid
          Left = 2
          Top = 52
          Width = 395
          Height = 130
          Align = alClient
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -13
          Font.Name = 'Tahoma'
          Font.Style = []
          ParentFont = False
          TabOrder = 0
          LookAndFeel.Kind = lfStandard
          object cxGridDBTableView2: TcxGridDBTableView
            NavigatorButtons.ConfirmDelete = False
            NavigatorButtons.First.Visible = True
            NavigatorButtons.PriorPage.Visible = True
            NavigatorButtons.Prior.Visible = True
            NavigatorButtons.Next.Visible = True
            NavigatorButtons.NextPage.Visible = True
            NavigatorButtons.Last.Visible = True
            NavigatorButtons.Insert.Visible = False
            NavigatorButtons.Append.Visible = False
            NavigatorButtons.Delete.Visible = False
            NavigatorButtons.Edit.Visible = False
            NavigatorButtons.Post.Visible = False
            NavigatorButtons.Cancel.Visible = False
            NavigatorButtons.Refresh.Visible = False
            NavigatorButtons.SaveBookmark.Visible = False
            NavigatorButtons.GotoBookmark.Visible = False
            NavigatorButtons.Filter.Visible = False
            FilterBox.Position = fpTop
            DataController.DataSource = dsReceptions
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <
              item
                Kind = skCount
                FieldName = 'pid'
              end>
            DataController.Summary.SummaryGroups = <>
            FilterRow.InfoText = #1065#1077#1083#1082#1085#1080#1090#1077' '#1079#1076#1077#1089#1100' '#1076#1083#1103' '#1089#1086#1079#1076#1072#1085#1080#1103' '#1092#1080#1083#1100#1090#1088#1072
            NewItemRow.InfoText = #1065#1105#1083#1082#1085#1080#1090#1077' '#1079#1076#1077#1089#1100' '#1076#1083#1103' '#1076#1086#1073#1072#1074#1083#1077#1085#1080#1103' '#1085#1086#1074#1086#1081' '#1089#1090#1088#1086#1082#1080
            OptionsBehavior.CellHints = True
            OptionsBehavior.IncSearch = True
            OptionsCustomize.ColumnFiltering = False
            OptionsData.CancelOnExit = False
            OptionsData.Deleting = False
            OptionsData.DeletingConfirmation = False
            OptionsData.Editing = False
            OptionsData.Inserting = False
            OptionsView.NavigatorOffset = 10
            OptionsView.NoDataToDisplayInfoText = '<'#1053#1077#1090' '#1076#1072#1085#1085#1099#1093'>'
            OptionsView.CellAutoHeight = True
            OptionsView.CellTextMaxLineCount = 1
            OptionsView.ColumnAutoWidth = True
            OptionsView.Footer = True
            OptionsView.GroupByBox = False
            OptionsView.Indicator = True
            Preview.Visible = True
            Styles.IncSearch = DMInv.cxKrasniyText
            Styles.Selection = DMInv.cxJoltiyFon
            Styles.Header = DMInv.cxSiniyText
            object cxGridDBTableView2SDNAME: TcxGridDBColumn
              Caption = #1053#1072#1080#1084#1077#1085#1086#1074#1072#1085#1080#1077
              DataBinding.FieldName = 'SDNAME'
            end
          end
          object cxGridLevel2: TcxGridLevel
            GridView = cxGridDBTableView2
          end
        end
        object ToolBar2: TToolBar
          Left = 2
          Top = 18
          Width = 395
          Height = 34
          BorderWidth = 2
          ButtonHeight = 24
          EdgeInner = esNone
          EdgeOuter = esNone
          Images = DMInv.ilActive
          TabOrder = 1
          Transparent = True
          object ToolButton4: TToolButton
            Left = 0
            Top = 2
            Hint = #1044#1086#1073#1072#1074#1080#1090#1100' '#1087#1088#1080#1105#1084
            Caption = #1044#1086#1073#1072#1074#1080#1090#1100' '#1087#1088#1080#1105#1084
            ImageIndex = 30
            ParentShowHint = False
            ShowHint = True
            OnClick = ToolButton4Click
          end
          object ToolButton6: TToolButton
            Left = 23
            Top = 2
            Hint = #1059#1076#1072#1083#1080#1090#1100' '#1087#1088#1080#1105#1084
            Caption = #1059#1076#1072#1083#1080#1090#1100' '#1087#1088#1080#1105#1084
            ImageIndex = 29
            ParentShowHint = False
            ShowHint = True
            OnClick = ToolButton6Click
          end
        end
      end
      object GroupBox5: TGroupBox
        Left = 1
        Top = 1
        Width = 399
        Height = 184
        Align = alTop
        Caption = #1060#1054#1055#1044
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clGray
        Font.Height = -13
        Font.Name = 'Tahoma'
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 2
        object cxGrid4: TcxGrid
          Left = 2
          Top = 52
          Width = 395
          Height = 130
          Align = alClient
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -13
          Font.Name = 'Tahoma'
          Font.Style = []
          ParentFont = False
          TabOrder = 0
          LookAndFeel.Kind = lfStandard
          object cxGridDBTableView4: TcxGridDBTableView
            NavigatorButtons.ConfirmDelete = False
            NavigatorButtons.First.Visible = True
            NavigatorButtons.PriorPage.Visible = True
            NavigatorButtons.Prior.Visible = True
            NavigatorButtons.Next.Visible = True
            NavigatorButtons.NextPage.Visible = True
            NavigatorButtons.Last.Visible = True
            NavigatorButtons.Insert.Visible = False
            NavigatorButtons.Append.Visible = False
            NavigatorButtons.Delete.Visible = False
            NavigatorButtons.Edit.Visible = False
            NavigatorButtons.Post.Visible = False
            NavigatorButtons.Cancel.Visible = False
            NavigatorButtons.Refresh.Visible = False
            NavigatorButtons.SaveBookmark.Visible = False
            NavigatorButtons.GotoBookmark.Visible = False
            NavigatorButtons.Filter.Visible = False
            FilterBox.Position = fpTop
            DataController.DataSource = dsFOPD
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <
              item
                Kind = skCount
                FieldName = 'pid'
              end>
            DataController.Summary.SummaryGroups = <>
            FilterRow.InfoText = #1065#1077#1083#1082#1085#1080#1090#1077' '#1079#1076#1077#1089#1100' '#1076#1083#1103' '#1089#1086#1079#1076#1072#1085#1080#1103' '#1092#1080#1083#1100#1090#1088#1072
            NewItemRow.InfoText = #1065#1105#1083#1082#1085#1080#1090#1077' '#1079#1076#1077#1089#1100' '#1076#1083#1103' '#1076#1086#1073#1072#1074#1083#1077#1085#1080#1103' '#1085#1086#1074#1086#1081' '#1089#1090#1088#1086#1082#1080
            OptionsBehavior.CellHints = True
            OptionsBehavior.IncSearch = True
            OptionsCustomize.ColumnFiltering = False
            OptionsData.CancelOnExit = False
            OptionsData.Deleting = False
            OptionsData.DeletingConfirmation = False
            OptionsData.Editing = False
            OptionsData.Inserting = False
            OptionsView.NavigatorOffset = 10
            OptionsView.NoDataToDisplayInfoText = '<'#1053#1077#1090' '#1076#1072#1085#1085#1099#1093'>'
            OptionsView.CellAutoHeight = True
            OptionsView.CellTextMaxLineCount = 1
            OptionsView.ColumnAutoWidth = True
            OptionsView.Footer = True
            OptionsView.GroupByBox = False
            OptionsView.Indicator = True
            Preview.Visible = True
            Styles.IncSearch = DMInv.cxKrasniyText
            Styles.Selection = DMInv.cxJoltiyFon
            Styles.Header = DMInv.cxSiniyText
            object cxGridDBTableView4SDNAME: TcxGridDBColumn
              Caption = #1053#1072#1080#1084#1077#1085#1086#1074#1072#1085#1080#1077
              DataBinding.FieldName = 'SDNAME'
              Width = 47
            end
          end
          object cxGridLevel4: TcxGridLevel
            GridView = cxGridDBTableView4
          end
        end
        object ToolBar3: TToolBar
          Left = 2
          Top = 18
          Width = 395
          Height = 34
          BorderWidth = 2
          ButtonHeight = 24
          EdgeInner = esNone
          EdgeOuter = esNone
          Images = DMInv.ilActive
          TabOrder = 1
          Transparent = True
          object ToolButton7: TToolButton
            Left = 0
            Top = 2
            Hint = #1044#1086#1073#1072#1074#1080#1090#1100' '#1060#1054#1055#1044
            Caption = #1044#1086#1073#1072#1074#1080#1090#1100' '#1060#1054#1055#1044
            ImageIndex = 30
            ParentShowHint = False
            ShowHint = True
            OnClick = ToolButton7Click
          end
          object ToolButton9: TToolButton
            Left = 23
            Top = 2
            Hint = #1059#1076#1072#1083#1080#1090#1100' '#1060#1054#1055#1044
            Caption = #1059#1076#1072#1083#1080#1090#1100' '#1060#1054#1055#1044
            ImageIndex = 29
            ParentShowHint = False
            ShowHint = True
            OnClick = ToolButton9Click
          end
        end
      end
    end
  end
  object dsTemplLesson: TDataSource
    DataSet = qTemplLesson
    Left = 328
    Top = 64
  end
  object qTemplLesson: TIBQuery
    Database = DMInv.DBRead
    Transaction = DMInv.IBTransaction1
    CachedUpdates = True
    SQL.Strings = (
      'Select ttl.*'
      'from ttemlatelesson  ttl'
      'where IDTEMPL=:IDTEMPL')
    UpdateObject = quTemplLesson
    GeneratorField.Field = 'SDID'
    Left = 360
    Top = 64
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'IDTEMPL'
        ParamType = ptUnknown
      end>
    object qTemplLessonIDTEMPL: TIntegerField
      FieldName = 'IDTEMPL'
      Origin = '"TTEMLATELESSON"."IDTEMPL"'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object qTemplLessonCNANE: TIBStringField
      FieldName = 'CNANE'
      Origin = '"TTEMLATELESSON"."CNANE"'
      Size = 40
    end
    object qTemplLessonSDIDTYPE: TIntegerField
      FieldName = 'SDIDTYPE'
      Origin = '"TTEMLATELESSON"."SDIDTYPE"'
    end
    object qTemplLessonSDIDFORM: TIntegerField
      FieldName = 'SDIDFORM'
      Origin = '"TTEMLATELESSON"."SDIDFORM"'
    end
    object qTemplLessonCTIME: TIntegerField
      FieldName = 'CTIME'
      Origin = '"TTEMLATELESSON"."CTIME"'
    end
    object qTemplLessonCCOMMENT: TIBStringField
      FieldName = 'CCOMMENT'
      Origin = '"TTEMLATELESSON"."CCOMMENT"'
      Size = 40
    end
  end
  object quTemplLesson: TIBUpdateSQL
    RefreshSQL.Strings = (
      'Select '
      '  IDTEMPL,'
      '  CNANE,'
      '  SDIDTYPE,'
      '  SDIDFORM,'
      '  CTIME,'
      '  CCOMMENT'
      'from ttemlatelesson '
      'where'
      '  CCOMMENT = :CCOMMENT and'
      '  CNANE = :CNANE and'
      '  CTIME = :CTIME and'
      '  IDTEMPL = :IDTEMPL and'
      '  SDIDFORM = :SDIDFORM and'
      '  SDIDTYPE = :SDIDTYPE')
    ModifySQL.Strings = (
      'update ttemlatelesson'
      'set'
      '  CCOMMENT = :CCOMMENT,'
      '  CNANE = :CNANE,'
      '  CTIME = :CTIME,'
      '  SDIDFORM = :SDIDFORM,'
      '  SDIDTYPE = :SDIDTYPE'
      'where'
      '  IDTEMPL = :OLD_IDTEMPL ')
    InsertSQL.Strings = (
      'insert into ttemlatelesson'
      '  (CCOMMENT, CNANE, CTIME, IDTEMPL, SDIDFORM, SDIDTYPE)'
      'values'
      '  (:CCOMMENT, :CNANE, :CTIME, :IDTEMPL, :SDIDFORM, :SDIDTYPE)')
    DeleteSQL.Strings = (
      'delete from ttemlatelesson'
      'where'
      '  CCOMMENT = :OLD_CCOMMENT and'
      '  CNANE = :OLD_CNANE and'
      '  CTIME = :OLD_CTIME and'
      '  IDTEMPL = :OLD_IDTEMPL and'
      '  SDIDFORM = :OLD_SDIDFORM and'
      '  SDIDTYPE = :OLD_SDIDTYPE')
    Left = 392
    Top = 64
  end
  object dsFOPD: TDataSource
    DataSet = memFOPD
    Left = 848
    Top = 248
  end
  object qSelectInf: TIBQuery
    Database = DMInv.DBRead
    Transaction = DMInv.IBTransaction1
    SQL.Strings = (
      'select tt.idtempl, ts.idstages, sd.sdname,'
      'op.SDID,op.IDTYPE'
      'from ttemlatelesson tt'
      'left join tstageslesson ts on ts.idtempl=tt.idtempl'
      'left join tstagesoptions op on op.idstages=ts.idstages'
      'left join sys_dic sd on sd.sdid=op.sdid'
      'where sd.sdname is not null and tt.idtempl=:idtempl'
      'and op.idtype=:idtype'
      '')
    GeneratorField.Field = 'SDID'
    Left = 704
    Top = 176
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'idtempl'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'idtype'
        ParamType = ptUnknown
      end>
    object qSelectInfIDTEMPL: TIntegerField
      FieldName = 'IDTEMPL'
      Origin = '"TTEMLATELESSON"."IDTEMPL"'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object qSelectInfIDSTAGES: TIntegerField
      FieldName = 'IDSTAGES'
      Origin = '"TSTAGESLESSON"."IDSTAGES"'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
    end
    object qSelectInfSDNAME: TIBStringField
      FieldName = 'SDNAME'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qSelectInfSDID: TIntegerField
      FieldName = 'SDID'
      Origin = '"TSTAGESOPTIONS"."SDID"'
    end
    object qSelectInfIDTYPE: TIntegerField
      FieldName = 'IDTYPE'
      Origin = '"TSTAGESOPTIONS"."IDTYPE"'
    end
  end
  object memFOPD: TdxMemData
    Indexes = <>
    SortOptions = []
    OnFilterRecord = memFOPDFilterRecord
    Left = 878
    Top = 248
    object memFOPDidtempl: TIntegerField
      FieldName = 'idtempl'
    end
    object memFOPDidstages: TIntegerField
      FieldName = 'idstages'
    end
    object memFOPDsdname: TStringField
      FieldName = 'sdname'
      Size = 255
    end
    object memFOPDsdid: TIntegerField
      FieldName = 'sdid'
    end
    object memFOPDidtype: TIntegerField
      FieldName = 'idtype'
    end
  end
  object dsReceptions: TDataSource
    DataSet = memReceptions
    Left = 848
    Top = 432
  end
  object memReceptions: TdxMemData
    Indexes = <>
    SortOptions = []
    OnFilterRecord = memReceptionsFilterRecord
    Left = 878
    Top = 432
    object memReceptionsidtempl: TIntegerField
      FieldName = 'idtempl'
    end
    object memReceptionsidstages: TIntegerField
      FieldName = 'idstages'
    end
    object memReceptionssdname: TStringField
      FieldName = 'sdname'
      Size = 255
    end
    object memReceptionssdid: TIntegerField
      FieldName = 'sdid'
    end
    object memReceptionsidtype: TStringField
      FieldName = 'idtype'
    end
  end
  object dsTools: TDataSource
    DataSet = memTools
    Left = 840
    Top = 616
  end
  object memTools: TdxMemData
    Indexes = <>
    SortOptions = []
    OnFilterRecord = memToolsFilterRecord
    Left = 878
    Top = 616
    object memToolsidtempl: TIntegerField
      FieldName = 'idtempl'
    end
    object memToolsidstages: TIntegerField
      FieldName = 'idstages'
    end
    object memToolssdname: TStringField
      FieldName = 'sdname'
      Size = 255
    end
    object memToolssdid: TIntegerField
      FieldName = 'sdid'
    end
    object memToolsidtype: TIntegerField
      FieldName = 'idtype'
    end
  end
  object dsSTAGES: TDataSource
    DataSet = qSTAGES
    Left = 24
    Top = 336
  end
  object quSTAGES: TIBUpdateSQL
    RefreshSQL.Strings = (
      'Select '
      '  IDSTAGES,'
      '  IDTEMPL,'
      '  POS,'
      '  SDIDSTAGES,'
      '  CTIME,'
      '  IDMETOD,'
      '  IDSUBJ,'
      '  IDOBJ,'
      '  CRESULT,'
      '  ACTTEACHER,'
      '  ACTLEARNER,'
      '  ISDELETE,'
      '  CSDIDSTAGES,'
      '  CMETOD,'
      '  CSUBJ,'
      '  COBJ'
      'from TSTAGESLESSON '
      'where'
      '  IDSTAGES = :IDSTAGES')
    ModifySQL.Strings = (
      'update TSTAGESLESSON'
      'set'
      '  ACTLEARNER = :ACTLEARNER,'
      '  ACTTEACHER = :ACTTEACHER,'
      '  CRESULT = :CRESULT,'
      '  CTIME = :CTIME,'
      '  IDMETOD = :IDMETOD,'
      '  IDOBJ = :IDOBJ,'
      '  IDSTAGES = :IDSTAGES,'
      '  IDSUBJ = :IDSUBJ,'
      '  IDTEMPL = :IDTEMPL,'
      '  POS = :POS,'
      '  SDIDSTAGES = :SDIDSTAGES'
      'where'
      '  IDSTAGES = :OLD_IDSTAGES')
    InsertSQL.Strings = (
      'insert into TSTAGESLESSON'
      
        '  (ACTLEARNER, ACTTEACHER, CRESULT, CTIME, IDMETOD, IDOBJ, IDSTA' +
        'GES, IDSUBJ, '
      '   IDTEMPL, POS, SDIDSTAGES)'
      'values'
      
        '  (:ACTLEARNER, :ACTTEACHER, :CRESULT, :CTIME, :IDMETOD, :IDOBJ,' +
        ' :IDSTAGES, '
      '   :IDSUBJ, :IDTEMPL, :POS, :SDIDSTAGES)')
    DeleteSQL.Strings = (
      'update TSTAGESLESSON'
      'set'
      '  ISDELETE=1'
      'where'
      '  IDSTAGES = :OLD_IDSTAGES')
    Left = 88
    Top = 336
  end
  object qSTAGES: TIBQuery
    Database = DMInv.DBRead
    Transaction = DMInv.IBTransaction1
    AfterScroll = qSTAGESAfterScroll
    CachedUpdates = True
    DataSource = dsTemplLesson
    SQL.Strings = (
      'select ts.*, sd1.sdname as cSDIDSTAGES,'
      'sd2.sdname as cMETOD,'
      'sd5.sdname as cSUBJ,'
      'sd6.sdname as cOBJ'
      'from TSTAGESLESSON ts'
      '    left join sys_dic sd1 on sd1.sdid=SDIDSTAGES'
      '    left join sys_dic sd2 on sd2.sdid=IDMETOD'
      '    left join sys_dic sd5 on sd5.sdid=IDSUBJ'
      '    left join sys_dic sd6 on sd6.sdid=IDOBJ'
      'where IDTEMPL=:IDTEMPL and ISDELETE is null')
    UpdateObject = quSTAGES
    GeneratorField.Field = 'SDID'
    Left = 56
    Top = 336
    ParamData = <
      item
        DataType = ftInteger
        Name = 'IDTEMPL'
        ParamType = ptUnknown
        Size = 4
      end>
    object qSTAGESIDSTAGES: TIntegerField
      FieldName = 'IDSTAGES'
      Origin = '"TSTAGESLESSON"."IDSTAGES"'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object qSTAGESIDTEMPL: TIntegerField
      FieldName = 'IDTEMPL'
      Origin = '"TSTAGESLESSON"."IDTEMPL"'
    end
    object qSTAGESPOS: TIntegerField
      FieldName = 'POS'
      Origin = '"TSTAGESLESSON"."POS"'
    end
    object qSTAGESSDIDSTAGES: TIntegerField
      FieldName = 'SDIDSTAGES'
      Origin = '"TSTAGESLESSON"."SDIDSTAGES"'
    end
    object qSTAGESCTIME: TIntegerField
      FieldName = 'CTIME'
      Origin = '"TSTAGESLESSON"."CTIME"'
    end
    object qSTAGESIDMETOD: TIntegerField
      FieldName = 'IDMETOD'
      Origin = '"TSTAGESLESSON"."IDMETOD"'
    end
    object qSTAGESIDSUBJ: TIntegerField
      FieldName = 'IDSUBJ'
      Origin = '"TSTAGESLESSON"."IDSUBJ"'
    end
    object qSTAGESIDOBJ: TIntegerField
      FieldName = 'IDOBJ'
      Origin = '"TSTAGESLESSON"."IDOBJ"'
    end
    object qSTAGESCSDIDSTAGES: TIBStringField
      FieldName = 'CSDIDSTAGES'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qSTAGESCMETOD: TIBStringField
      FieldName = 'CMETOD'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qSTAGESCSUBJ: TIBStringField
      FieldName = 'CSUBJ'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qSTAGESCOBJ: TIBStringField
      FieldName = 'COBJ'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qSTAGESCRESULT: TIBStringField
      FieldName = 'CRESULT'
      Origin = '"TSTAGESLESSON"."CRESULT"'
      Size = 2048
    end
    object qSTAGESACTTEACHER: TIBStringField
      FieldName = 'ACTTEACHER'
      Origin = '"TSTAGESLESSON"."ACTTEACHER"'
      Size = 2048
    end
    object qSTAGESACTLEARNER: TIBStringField
      FieldName = 'ACTLEARNER'
      Origin = '"TSTAGESLESSON"."ACTLEARNER"'
      Size = 2048
    end
    object qSTAGESISDELETE: TIntegerField
      FieldName = 'ISDELETE'
      Origin = '"TSTAGESLESSON"."ISDELETE"'
    end
  end
end
